package priv.mill.xml;
import java.io.File;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

public class Person {

	private static final Logger logger = Logger.getLogger(Person.class);
	
	private String aaaString;
	
	private List<Mayi> mayis;
	
	
	public List<Mayi> getMayis() {
		return mayis;
	}

	public void setMayis(List<Mayi> mayis) {
		this.mayis = mayis;
	}

	private int age;

	private String desc;
	
	private File file;
	
	private Map<String, Object> book;
	
	public Map<String, Object> getBook() {
		return book;
	}

	public void setBook(Map<String, Object> book) {
		this.book = book;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getName() {
		return aaaString;
	}

	public void setName(String name) {
		this.aaaString = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "Person [name=" + aaaString + ", age=" + age + ", desc=" + desc
				+ ", file=" + file + ", book=" + book + "]";
	}

	
	public void init(){
		System.out.println("Person被初始化");
	}


	public void destroy(){
		System.out.println("Person被销毁");
	}

	public Person() {
		System.out.println("Person构造器");
	}
	
	
	
}
